import { createFromIconfontCN } from '@ant-design/icons'

type IconType = {
  className?: string
  iconName: string
}
const MyIcon = createFromIconfontCN({
  scriptUrl: ['//at.alicdn.com/t/c/font_4402270_754sdl48buq.js']
})
export default function AigcIcon(params: IconType) {
  return (
    <>
      <MyIcon
        className={params.className}
        type={`icon-${params.iconName}`}
      ></MyIcon>
    </>
  )
}
